package com.example.mytayunapi.Entity;

import lombok.Data;
import org.springframework.web.bind.annotation.RestController;

import java.sql.Timestamp;

@Data
public class ordersInfo {
    private Integer order_id;
    public Integer Product_id;
    public String School_degree;
    private String order_name;
    private Timestamp order_time;
    private String Order_status;
    private Double totalAmount;
    private String alipayTradeNo;
    private Timestamp gmt_payment;

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getProduct_id() {
        return Product_id;
    }

    public void setProduct_id(Integer product_id) {
        Product_id = product_id;
    }

    public String getSchool_degree() {
        return School_degree;
    }

    public void setSchool_degree(String school_degree) {
        School_degree = school_degree;
    }

    public Timestamp getOrder_time() {
        return order_time;
    }

    public void setOrder_time(Timestamp order_time) {
        this.order_time = order_time;
    }

    public String getOrder_status() {
        return Order_status;
    }

    public void setOrder_status(String order_status) {
        Order_status = order_status;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }
    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getAlipayTradeNo() {
        return alipayTradeNo;
    }

    public void setAlipayTradeNo(String alipayTradeNo) {
        this.alipayTradeNo = alipayTradeNo;
    }

    public Timestamp getGmt_payment() {
        return gmt_payment;
    }

    public void setGmt_payment(Timestamp gmt_payment) {
        this.gmt_payment = gmt_payment;
    }
}
